// 用户交互界面登录注册mock接口
const Mock = require('mockjs')
const Random = Mock.Random

// 1.user-auth-register-sendCode
const user_auth_register_sendCode = function (phone) {
  const data = {
    message: '成功',
    code: 200,
    data: '1254',
  }
  return data
}
Mock.mock(
  '/api/v1/user/auth/register/snedCode',
  'POST',
  user_auth_register_sendCode
)

// 2.user-auth-register
const user_auth_register = function (obj) {
  const data = {
    code: 200,
    message: '成功',
    data: null,
  }
  return data
}
Mock.mock('/api/v1/user/auth/register', 'POST', user_auth_register)
